package upload;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.Writer;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.aliyun.oss.ClientConfiguration;
import com.aliyun.oss.ClientException;
import com.aliyun.oss.OSSClient;
import com.aliyun.oss.OSSException;
import com.aliyun.oss.model.CannedAccessControlList;
import com.aliyun.oss.model.CreateBucketRequest;
import com.aliyun.oss.model.ObjectMetadata;
import com.aliyun.oss.model.PutObjectResult;

public class UploadImg {
	private final static Logger log = LoggerFactory.getLogger(UploadImg.class);
	private static String endpoint = "oss-cn-shanghai.aliyuncs.com";
	// accessKey请登录https://ak-console.aliyun.com/#/查看
	private static String accessKeyId = "LTAIbsLcDtkq3G5U";
	private static String accessKeySecret = "yskyTajuuMwFvkov6t48OLpNLMGaSh";
	private static String bucketName = "honghyunhis";

	
}
